﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_pc_base")]
    public partial class ZmPcBase : Repository.IEntity
    {
        [Key]
        [Column("id")]
        [StringLength(50)]
        public string Id { get; set; }

        [Column("fwbh")]
        [StringLength(50)]
        public string? Fwbh { get; set; }

        [Column("xzqdm")]
        [StringLength(6)]
        public string? Xzqdm { get; set; }

        [Column("town")]
        [StringLength(12)]
        public string? Town { get; set; }

        [Column("village")]
        [StringLength(12)]
        public string? Village { get; set; }

        [Column("address")]
        [StringLength(254)]
        public string? Address { get; set; }

        [Column("yhfwbh")]
        [StringLength(36)]
        public string? Yhfwbh { get; set; }

        [Column("hzxm")]
        [StringLength(36)]
        public string ?Hzxm { get; set; }

        [Column("cs")]
        public long? Cs { get; set; }

        [Column("jzrks")]
        public int? Jzrks { get; set; }

        [Column("zzrs")]
        public int ?Zzrs { get; set; }

        [Column("jzfjs")]
        public int? Jzfjs { get; set; }

        [Column("fjsl")]
        public int? Fjsl { get; set; }

        [Column("jzscxyaqcksl")]
        public int? Jzscxyaqcksl { get; set; }

        [Column("jzscmj")]
        public decimal? Jzscmj { get; set; }

        [Column("jzszlwxdlgybjqs")]
        public int? Jzszlwxdlgybjqs { get; set; }

        [Column("jzsyjyplmhxts")]
        public int? Jzsyjyplmhxts { get; set; }

        [Column("jzxyssltsl")]
        public int? Jzxyssltsl { get; set; }

        [Column("mhqsl")]
        public int? Mhqsl { get; set; }

        [Column("fytsmz")]
        public int? Fytsmz { get; set; }

        [Column("xggdjsbp")]
        public int? Xggdjsbp { get; set; }

        [Column("jsrysstd")]
        [StringLength(100)]
        public string ?Jsrysstd { get; set; }

        //[Column("sfazzzryslpbfytsmd")]
        //public int? Sfazzzryslpbfytsmd { get; set; }

        [Column("cjzwqtjyytmsg")]
        [StringLength(100)]
        public string? Cjzwqtjyytmsg { get; set; }

        [Column("cjzwqtjyyt")]
        public int? Cjzwqtjyyt { get; set; }


        [Column("ckfhwggptzlsl")]
        public int? Ckfhwggptzlsl { get; set; }

        [Column("gryssdcsszblyyqksddp")]
        public int? Gryssdcsszblyyqksddp { get; set; }

        [Column("wdwhjgfjgqsyyrkrgbdj")]
        public int? Wdwhjgfjgqsyyrkrgbdj { get; set; }

        [Column("sstdjsqk")]
        [StringLength(100)]
        public string? Sstdjsqk { get; set; }

        [Column("create_by")]
        [StringLength(50)]
        public string ?CreateBy { get; set; }

        [Column("create_on")]
        public DateTime CreateOn { get; set; }

        [Column("create_ip")]
        [StringLength(20)]
        public string? CreateIp { get; set; }

        [Column("modified_by")]
        [StringLength(50)]
        public string ?ModifiedBy { get; set; }

        [Column("modified_on")]
        public DateTime? ModifiedOn { get; set; }

        [Column("modified_ip")]
        [StringLength(20)]
        public string? ModifiedIp { get; set; }

        [Column("is_delete")]
        public short ?IsDelete { get; set; }

        [Column("delete_by")]
        [StringLength(50)]
        public string ?DeleteBy { get; set; }

        [Column("delete_on")]
        public DateTime? DeleteOn { get; set; }

        [Column("delete_ip")]
        [StringLength(20)]
        public string ?DeleteIp { get; set; }

        [Column("bdfwjzrydddzxcsl")]
        public int? Bdfwjzrydddzxcsl { get; set; }

        [Column("sstdsyyrkrclzx")]
        public int? Sstdsyyrkrclzx { get; set; }


        [Column("pcsj")]
        public DateTime? Pcsj { get; set; }

        [Column("yhly")]
        public int? Yhly { get; set; }

        [Column("cdfs")]
        public string? Cdfs { get; set; }

        [Column("cdfsqtbz")]
        public string? Cdfsqtbz { get; set; }


        [Column("czryrs")]
        public int? Czryrs { get; set; }

        [Column("tdsfdb")]
        public string? Tdsfdb { get; set; }

        [NotMapped]
        public int? Fwzt { get; set; }

    }
}
